package com.netease.pris.activity;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.netease.framework.ActivityEx;
import com.netease.framework.b.c;
import com.netease.pris.a.e;
import com.netease.pris.atom.i;
import com.netease.pris.b;
import com.netease.pris.v;
import java.util.ArrayList;
import java.util.List;

public class PRISAboutActivity extends ActivityEx
  implements View.OnClickListener
{
  private TextView a;
  private LinearLayout b;
  private List c;
  private int d;
  private b e = new ew(this);

  private View a(i parami)
  {
    View localView = ((LayoutInflater)getSystemService("layout_inflater")).inflate(2130903042, null, false);
    TextView localTextView = (TextView)localView.findViewById(2131558415);
    localTextView.setGravity(1);
    localTextView.setGravity(1);
    localTextView.setText(parami.b());
    localView.setTag(parami.c());
    return localView;
  }

  public static void a(Context paramContext)
  {
    Intent localIntent = new Intent();
    localIntent.setClass(paramContext, PRISAboutActivity.class);
    paramContext.startActivity(localIntent);
  }

  public void onClick(View paramView)
  {
    String str = null;
    if ((paramView != null) && (paramView.getTag() != null))
      str = (String)paramView.getTag();
    if (str != null);
    try
    {
      startActivity(new Intent("android.intent.action.VIEW", Uri.parse(str)));
      return;
    }
    catch (Exception localException)
    {
      while (true)
        localException.printStackTrace();
    }
  }

  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(2130903060);
    k();
    this.a = ((TextView)findViewById(2131558455));
    this.b = ((LinearLayout)findViewById(2131558457));
    TextView localTextView = this.a;
    Object[] arrayOfObject = new Object[1];
    arrayOfObject[0] = e.a(this);
    localTextView.setText(getString(2131362031, arrayOfObject));
    this.d = c.a();
    this.c = new ArrayList();
    v.a().a(this.e);
    this.c.add(Integer.valueOf(v.a().n()));
  }

  protected void onDestroy()
  {
    super.onDestroy();
    v.a().b(this.e);
    if (this.e != null)
    {
      this.e.c();
      this.e = null;
    }
    if (this.b != null)
    {
      this.b.removeAllViews();
      this.b = null;
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.PRISAboutActivity
 * JD-Core Version:    0.6.0
 */